<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true"%>
<%@ include file="/WEB-INF/views/include.inc.jsp"%>
<div class="pageContent">
<form method="post" action="${contextPath }/user/edit" class="required-validate pageForm" onsubmit="return validateCallback(this, dialogReloadNavTab);">
	<div class="pageFormContent" layoutH="58">
		<input type="hidden" name="id" value="${user.id}"/>

		<input type="hidden" name="username" value="${user.username}" />

		<p>
			<label>姓名：</label>
			<input type="text" name="realname" value="${user.realname}" class="input-medium validate[required,maxSize[32]] required" maxlength="32"/>
		</p>		
		
		<p>
			<label>电话：</label>
			<input type="text" name="phone" value="${user.phone}" class="input-medium  validate[custom[phone],maxSize[32]]" maxlength="32"/>
		</p>		
		<p>
			<label>用户邮箱：</label>
			<input type="text" name="email"  value="${user.email}" class="input-medium validate[custom[email],maxSize[32]]"/>
		</p>		
		
		<input name="status" value="${user.status}"   type="hidden"/>
		<input name="organization.id" value="${user.organization.id}"   type="hidden"/>

		
	</div>
			
	<div class="formBar">
		<ul>
			<li><div class="button"><div class="buttonContent"><button type="submit">确定</button></div></div></li>
			<li><div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div></li>
		</ul>
	</div>
</form>
</div>